A system billing unit (SBU) is a unit of measure that reflects use of
machine resources. SBUs are defined in the CSA configuration file
_////_eeee_tttt_cccc_////_cccc_ssss_aaaa_...._cccc_oooo_nnnn_ffff and are set to _0000_...._0000 by default. The weighting factor
associated with each field in the CSA accounting records can be altered
to obtain an SBU value suitable for your site. See the _I_R_I_X _A_d_m_i_n:
_R_e_s_o_u_r_c_e _A_d_m_i_n_i_s_t_r_a_t_i_o_n manual for further information.
The CSA accounting records are not written into the System V pacct file
but are written into a separate CSA _////_vvvv_aaaa_rrrr_////_aaaa_dddd_mmmm_////_aaaa_cccc_cccc_tttt_////_dddd_aaaa_yyyy_////_pppp_aaaa_cccc_cccc_tttt file. The
CSA commands can only be used with CSA generated accounting records.
Similarly, the System V accounting commands can only be used with System
V generated accounting records.
There are four user exits available with the _cccc_ssss_aaaa_rrrr_uuuu_nnnn(1M) daily accounting
script. There is one user exit available with the _cccc_ssss_aaaa_pppp_eeee_rrrr_iiii_oooo_dddd(1M) periodic
accounting script. These user exits allow sites to tailor the daily and
periodic run of accounting to their specific needs by creating user exit
scripts to perform any additional processing and to allow for archiving
of accounting data. See the _cccc_ssss_aaaa_rrrr_uuuu_nnnn(1M) and _cccc_ssss_aaaa_pppp_eeee_rrrr_iiii_oooo_dddd(1M) man pages for
further information.
CSA provides two user accounting commands, _cccc_ssss_aaaa_cccc_oooo_mmmm(1) and _jjjj_aaaa(1). The
_cccc_ssss_aaaa_cccc_oooo_mmmm command reads the CSA pacct file and writes selected accounting
records to standard output. The _cccc_ssss_aaaa_cccc_oooo_mmmm command is very similar to the
System V _aaaa_cccc_cccc_tttt_cccc_oooo_mmmm(1) command. The _jjjj_aaaa command provides job accounting
information for the current job of the caller. This information is
obtained from a separate user job accounting file to which the kernel
writes. See the _cccc_ssss_aaaa_cccc_oooo_mmmm(1) and _jjjj_aaaa(1) man pages for further information.
The _////_eeee_tttt_cccc_////_cccc_ssss_aaaa_...._cccc_oooo_nnnn_ffff file contains CSA configuration variables. These
variables are used by the CSA commands.
Like any accounting or monitoring package, the CSA features do contribute
to overall system overhead. For this reason, CSA is disabled in the
kernel by default. To enable CSA, use the _ssss_yyyy_ssss_tttt_uuuu_nnnn_eeee(1M) program to modify
the following variable:
_dddd_oooo______cccc_ssss_aaaa_aaaa_cccc_cccc_tttt Enables CSA job accounting if non-zero
The _cccc_ssss_aaaa_ssss_wwww_iiii_tttt_cccc_hhhh command is used to dynamically configure on or off CSA
record types, set memory and I/O threshold values, switch the CSA pacct
file, and provide status information. See the _cccc_ssss_aaaa_ssss_wwww_iiii_tttt_cccc_hhhh(1M) man page for
further information.
CSA can be automatically configured _oooo_nnnn across system reboots using the
+o Enable CSA within the kernel by using the _ssss_yyyy_ssss_tttt_uuuu_nnnn_eeee utility to set
_dddd_oooo______cccc_ssss_aaaa_aaaa_cccc_cccc_tttt to a non-zero value
+o Use the _iiii_nnnn_ssss_tttt(1M) utility to install the _eeee_oooo_eeee_...._ssss_wwww_...._cccc_ssss_aaaa_aaaa_cccc_cccc_tttt subsystem from
your IRIX distribution media. Installing CSA also requires the
_eeee_oooo_eeee_...._ssss_wwww_...._aaaa_cccc_cccc_tttt and _eeee_oooo_eeee_...._ssss_wwww_...._jjjj_llll_iiii_mmmm_iiii_tttt_ssss subsystems to be installed. It will
be necessary to reboot the system after completing this step.
+o Configure CSA _oooo_nnnn across system reboots by using the _cccc_hhhh_kkkk_cccc_oooo_nnnn_ffff_iiii_gggg utility
_////_vvvv_aaaa_rrrr_////_aaaa_dddd_mmmm_////_aaaa_cccc_cccc_tttt_////_dddd_aaaa_yyyy_////_pppp_aaaa_cccc_cccc_tttt Current process accounting file
_////_vvvv_aaaa_rrrr_////_aaaa_dddd_mmmm_////_aaaa_cccc_cccc_tttt_////_ssss_uuuu_mmmm_////_cccc_ssss_aaaa CSA daily reports and data files
_////_vvvv_aaaa_rrrr_////_aaaa_dddd_mmmm_////_aaaa_cccc_cccc_tttt_////_ffff_iiii_ssss_cccc_aaaa_llll_////_cccc_ssss_aaaa CSA periodic reports and data files